﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once
#include "GcmpDevService.h"

namespace gcmp
{
    class IDocument;

    class GCMP_DEV_SERVICE_EXPORT CheckUtils
    {
    public:
        /// \brief 检测文档一致性
        static void CheckDocumentConsistency(IDocument* pDocument);

        /// \brief 检测协同项目文档一致性
        /// \parma doc 当前文档
        /// \param 检测自定义输入数据
        static void CheckProjectForCollaConsistency(IDocument* pDocument, void* pData);
    };
}